home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="General Usage\Mouse"
- "NAME"="Logitech Options"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Use middle mouse-button as double-click"
- "DESCRIPTION 1"="If the middle mouse-button is currently unused, you can use it as a shortcut to a double-click."
- "DESCRIPTION 2"="Note that this plug-in will be usable only if you are using a Logitech mouse and the drivers are correctly installed."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Version 1.1"
-
-
- sP="HKLM\Software\Logitech\Mouseware\CurrentVersion\"
- sR="Global\ActiveMouse"
- sV=""
- sV2="\0000\DoubleClick"
- Sub Plugin_Initialize
- If RegPathExists(sp) then
- sV=RegReadValue(sp&sr)
- if len(sv)<=0 then
- Disable
- else
- i=RegReadValue(sp&sv&sv2)
- if i="001" then SetUIElement 1,true
- end if
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sp&sv&sv2,"001",1)
- else
- Call RegWriteValue(sp&sv&sv2,"000",1)
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-